package com.hnist.empdemo.pojo;

import java.util.Map;

public class Employee {
    private int id;//员工编号
    private String name;//员工姓名
    private String gender;//员工性别
    private String department;//所在部门
    private String position;//员工级别
    private double salary;//员工薪资
    private double bonus;//奖金

    public Employee() {
    }

    public Employee(String gender, String department, String position) {
        this.gender = gender;
        this.department = department;
        this.position = position;
    }

    public Employee(int id, String name, String gender, String department, String position, double salary, double bonus) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.department = department;
        this.position = position;
        this.salary = salary;
        this.bonus = bonus;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public double getBonus() {
        return bonus;
    }

    public void setBonus(double bonus) {
        this.bonus = bonus;
    }
}
